<%@ page language="java" contentType="application/vnd.ms-excel; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="common.UserBean" %>
<%
  UserBean bean = (UserBean)request.getAttribute( "Bean" );
  if( bean == null )
      bean = new UserBean();
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="application/vnd.ms-excel; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<table border="1">
  <tr>
    <td>姓名</td>
    <td>密碼</td>
  </tr>
  <tr>
    <td><%=bean.getName() %></td>
    <td><%=bean.getPassword() %></td>
  </tr>
</table>
</body>
</html>